from django.db import models
from user.models import User


# Create your models here.


class Wedding_Info(models.Model):
    backgroud_image = models.ImageField(upload_to='backgroud_image/%Y/%m', default='backgroud_image/default.jpg')
    user = models.ForeignKey(User, on_delete=models.CASCADE, default=1)
    wedding_id = models.IntegerField(default=0)
    qr_code = models.CharField(max_length=200, default='')

